package com.quxue.im.mapper;

import com.quxue.im.entity.ChatFriend;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.quxue.im.vo.friend.FriendVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 好友表 Mapper 接口
 * </p>
 *
 * @author jinken
 * @since 2023-11-10
 */
public interface ChatFriendMapper extends BaseMapper<ChatFriend> {

    List<FriendVo> selectFriend(Long userId);

    FriendVo selectFriendInfo(@Param("userId") long userId,@Param("friendId") Long friendId);
}
